package com.yonyou.cms.epc.client.entity.part;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yonyou.cms.epc.client.entity.BasePO;
import com.yonyou.cms.epc.client.entity.file.FilePO;

import java.util.List;

/**
 * @description: 备件对象
 * @author: chengbufang
 * @date: 2022-09-02 16:41
 */
@TableName("tt_part_info")
public class PartInfoPO extends BasePO<PartInfoPO> {

    /**
     * 主键ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 备件编码
     */
    @TableField(value = "BJXMBH")
    private String bjxmbh;

    /**
     * 备件中文名称
     */
    @TableField(value = "BJZWMC")
    private String bjzwmc;

    /**
     * 是否可订购标识（销售标识）
     */
    @TableField(value = "BJDGBZ")
    private String bjdgbz;

    /**
     * 单位
     */
    @TableField(value = "BJDANW")
    private String bjdanw;

    /**
     * 采购最小包装量
     */
    @TableField(value = "BJCGZX")
    private Double bjcgzx;

    /**
     * 销售最小包装量（默认定额）
     */
    @TableField(value = "BJXSZX")
    private Double bjxszx;

    /**
     * 采购标识
     */
    @TableField(value = "BJCGBZ")
    private String bjcgbz;

    /**
     * 适用车型
     */
    @TableField(value = "BJSYCX")
    private String bjsycx;

    /**
     * 终端销售价
     */
    @TableField(exist = false)
    private Double ls;

    /**
     * 服务商进价
     */
    @TableField(exist = false)
    private Double xs;

    /**
     * 销售标识
     */
    @TableField(value = "BJXSBZ")
    private Long bjxsbz;

    /**
     * 是否紧急件
     */
    @TableField(value = "BJDEBZ")
    private Long bjdebz;

    /**
     * 是否特殊件
     */
    @TableField(value = "BJTSBZ")
    private Long bjtsbz;

    /**
     * 是否有图片
     */
    @TableField(value = "HAS_PICS")
    private Long hasPics;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

    /**
     * 价格备注
     */
    @TableField(value = "BJJGBZ")
    private String bjjgbz;

    /**
     * 图片文件
     */
    @TableField(exist = false)
    private List<FilePO> fileList;

    /**
     * 备件类别名称
     */
    @TableField(exist = false)
    private String partTypeName;

    /**
     * 适用车型名称
     */
    @TableField(exist = false)
    private String bjsycxmc;

    /**
     * appid
     */
    @TableField(value = "APP_ID")
    private String appId;

    public String getPartTypeName() {
        return partTypeName;
    }

    public void setPartTypeName(String partTypeName) {
        this.partTypeName = partTypeName;
    }

    public String getBjsycxmc() {
        return bjsycxmc;
    }

    public void setBjsycxmc(String bjsycxmc) {
        this.bjsycxmc = bjsycxmc;
    }

    public List<FilePO> getFileList() {
        return fileList;
    }

    public void setFileList(List<FilePO> fileList) {
        this.fileList = fileList;
    }

    public String getBjjgbz() {
        return bjjgbz;
    }

    public void setBjjgbz(String bjjgbz) {
        this.bjjgbz = bjjgbz;
    }

    public Long getBjxsbz() {
        return bjxsbz;
    }

    public void setBjxsbz(Long bjxsbz) {
        this.bjxsbz = bjxsbz;
    }

    public Long getBjdebz() {
        return bjdebz;
    }

    public void setBjdebz(Long bjdebz) {
        this.bjdebz = bjdebz;
    }

    public Long getBjtsbz() {
        return bjtsbz;
    }

    public void setBjtsbz(Long bjtsbz) {
        this.bjtsbz = bjtsbz;
    }

    public Long getHasPics() {
        return hasPics;
    }

    public void setHasPics(Long hasPics) {
        this.hasPics = hasPics;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBjxmbh() {
        return bjxmbh;
    }

    public void setBjxmbh(String bjxmbh) {
        this.bjxmbh = bjxmbh;
    }

    public String getBjzwmc() {
        return bjzwmc;
    }

    public void setBjzwmc(String bjzwmc) {
        this.bjzwmc = bjzwmc;
    }

    public String getBjdgbz() {
        return bjdgbz;
    }

    public void setBjdgbz(String bjdgbz) {
        this.bjdgbz = bjdgbz;
    }

    public String getBjdanw() {
        return bjdanw;
    }

    public void setBjdanw(String bjdanw) {
        this.bjdanw = bjdanw;
    }

    public Double getBjcgzx() {
        return bjcgzx;
    }

    public void setBjcgzx(Double bjcgzx) {
        this.bjcgzx = bjcgzx;
    }

    public Double getBjxszx() {
        return bjxszx;
    }

    public void setBjxszx(Double bjxszx) {
        this.bjxszx = bjxszx;
    }

    public String getBjcgbz() {
        return bjcgbz;
    }

    public void setBjcgbz(String bjcgbz) {
        this.bjcgbz = bjcgbz;
    }

    public String getBjsycx() {
        return bjsycx;
    }

    public void setBjsycx(String bjsycx) {
        this.bjsycx = bjsycx;
    }

    public Double getLs() {
        return ls;
    }

    public void setLs(Double ls) {
        this.ls = ls;
    }

    public Double getXs() {
        return xs;
    }

    public void setXs(Double xs) {
        this.xs = xs;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
}
